/**
 * 
 */
package br.mil.pamerj.efetivo.services.impl;

import br.mil.pamerj.efetivo.services.interfaces.IPaisService;
import br.mil.pamerj.efetivo.services.interfaces.IServiceFactory;

/**
 * @author alberto
 *
 */
public class ServiceFactory implements IServiceFactory{
	//ApplicationContext context = new ClassPathXmlApplicationContext("spring-core-context.xml");
    
	public IPaisService getPaisService() {
		return new PaisService();
	}
	 /**ApplicationContext context = new ClassPathXmlApplicationContext("spring-core-context.xml");
	    @Override
	    public PessoaService getPessoaService() {
	       return new SimplePessoaService();
	    }

	    @Override
	    public MatriculaService getMatriculaService() {
	        return (MatriculaService) context.getBean("matriculaService");
	    }
*/

}
